const api = require("../api.js");
//获取应用实例
const {network} = getApp();

Page({
  data: {
    type: ''
  },
  onLoad(e) {
    this.setData({
      type: e.id
    });
    console.log(e);
  },
  onShow() {
    switch (this.data.type) {
      case 'development':
        break;
      case 'share':
        break;
      case 'sale':
        break;
    }
    console.log(this.data.type);
  }
});
